package com.evil.kingdom.properties;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.io.Serial;
import java.io.Serializable;

/**
 * @author liyang
 * @date 2024-06-01 17:28
 */
@Getter
@Setter
@ConfigurationProperties(prefix = "kingdom")
public class Kingdom implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 整体行军速度
     */
    private Double unit;

    public Kingdom() {
        this.unit = 0.5d;
    }
}
